package com.zh.umldemo.test03FactoryMethod;

/**
 * @author zh
 * @date 2025/9/7 10:38
 * @description:定义具体工厂类
 */
public class FactoryB extends AbstractFactory {
    @Override
    public AbstractProduct createProduct() {
        return new ProductB();
    }
}
